package com.sunny.core.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sunny.core.bean.UserInfo;
import com.sunny.core.mapper.UserInfoMapper;
import com.sunny.core.service.IUserInfoService;

@Service
public class UserInfoServiceImpl implements IUserInfoService {
	
	
	@Autowired
	UserInfoMapper userInfoMapper;

	public void insert(UserInfo record) {
		int num =  userInfoMapper.insert(record);
	}

	public List<UserInfo> queryAll() {
		return userInfoMapper.queryAll();
	}

}
